﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RSSReader._testPages
{
    public partial class WebForm3 : System.Web.UI.Page
    {
        [System.Web.Services.WebMethod]
        public static string[] GetCityNameArray(string[] cities)
        {
            return cities;
        }

        [System.Web.Services.WebMethod]
        public static List<City> CityObjectArray(List<City> cities)
        {
            return cities;
        }
    }

    public class City
    {
        private string name;
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        private int population;
        public int Population
        {
            get
            {
                return population;
            }
            set
            {
                population = value;
            }
        }
    }
}